package com.BlackMesa.controllers;

import java.util.ArrayList;

import com.BlackMesa.models.OurLocation;
import com.google.android.maps.GeoPoint;

public class locationSender {
	private static ArrayList<OurLocation> arr = new ArrayList<OurLocation>();
	private static GeoPoint last;
	public static void add(OurLocation p){
		if(arr== null){
			arr = new ArrayList<OurLocation>();
		}
		arr.add(p);
	}
	
	public static ArrayList<OurLocation> getLoc(){
		return arr;
	}

	public static void setLocList(ArrayList<OurLocation> array) {
		arr = array;
	}
	
	public static GeoPoint lastPick() {
		return last;
	}
	
	public static void setNewLast(GeoPoint p) {
		last = p;
	}
}
